package com.nalai.market.v1.service.impl;

import com.nalai.market.v1.model.Levelone;
import com.nalai.market.v1.mapper.LeveloneMapper;
import com.nalai.market.v1.service.ILeveloneService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author com.nalai
 * @since 2021-08-24
 */
@Service
public class LeveloneServiceImpl extends ServiceImpl<LeveloneMapper, Levelone> implements ILeveloneService {

    @Autowired
    private LeveloneMapper leveloneMapper;

    @Override
    public List<Levelone> findLevelones() {
        return leveloneMapper.selectList(null);
    }
}
